|
Charm (language) is an object oriented computer programming language devised in the early 1990s with similarities to the RTL/2, Pascal and C languages in addition to containing some unique features of its own. The Charm language is defined by a context-free grammar amenable to being processed by recursive descent parser as described in seminal books on compiler design.〔〔 A set of Charm tools including a compiler, assembler and linker released for the Acorn market has been reviewed in Acorn User magazine〔 under the category of programming software. Charm reworked for RISC OS platforms has subsequently been reviewed in Archive magazine.〔(【引用サイトリンク】author=Gavin Wraith )〕 Charm is further described in the e-book ''Programming in Charm on the Raspberry Pi''.〔 == Grammar == The definition of the Charm grammar in Backus–Naur Form along with descriptive examples of Charm constructs is defined on the Charm (language page ).〔Charm RISC OS, (language page )〕 The language is block structured, with each block being introduced by a language keyword that is descriptive of the operation being performed in the block e.g. for, while, repeat (''iteration''), case, if (''selection''). Each block is enclosed by delimiters. Additionally language lines within a block are normally indented for clarity, though this not required as white space is ignored. Each grammatically conforming text represents a collection of executable code and associated data which can be used by a Charm tool set as a component when assembling a program that can be run under an operating system utilising the services it provides to do useful work such as data processing or interacting with users through a graphical user interface (GUI). 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Charm (programming language)」の詳細全文を読む スポンサード リンク
|